package com.ks.service;

import com.ks.entity.Rank;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ks.base.BaseService;
import com.ks.dao.RankDao;

import java.util.List;

@Service("rankService")
public class RankService<T> extends BaseService<T> {
    private final static Logger log = Logger.getLogger(RankService.class);

    @Autowired
    private RankDao<T> dao;

    public RankDao<T> getDao() {
        return dao;
    }

    public List<Rank> findByProId(Object o){
        return dao.queryListByPro(o);
    }

}
